# hash:sha256:12bd49e192db3eb48de24906dc76c53f7444983250dd47bb92ef690a1fed1c25
FROM registry.codeocean.com/codeocean/miniconda3:4.12.0-python3.9-ubuntu20.04

ARG DEBIAN_FRONTEND=noninteractive

RUN apt-get update \
    && apt-get install -y --no-install-recommends \
        libglib2.0-dev=2.64.6-1~ubuntu20.04.4 \
        python-opengl=3.1.0+dfsg-2build1 \
        wget=1.20.3-1ubuntu2 \
    && rm -rf /var/lib/apt/lists/*

RUN pip3 install -U --no-cache-dir \
    facenet-pytorch==2.5.3 \
    jupyter==1.0.0 \
    jupyterhub==4.0.0 \
    jupyterlab==4.0.0 \
    kdepy==1.1.3 \
    nbconvert==7.4.0 \
    opencv-python==4.7.0.72 \
    openpyxl==3.1.2 \
    pandas==1.5.3 \
    pyyaml==6.0 \
    scikit-learn==1.2.2 \
    scipy==1.9.1 \
    seaborn==0.12.2 \
    tensorflow==2.12.0 \
    torch==2.0.1 \
    tqdm==4.65.0

COPY postInstall /
RUN /postInstall
